/**********************************************************************************************************************
* COPYRIGHT 
* ------------------------------------------------------------------------------------------------------------------- 
* Copyright (c) iSOFT INFRASTRUCTURE SOFTWARE CO., LTD. This software is proprietary to 
* iSOFT INFRASTRUCTURE SOFTWARE CO., LTD., and all rights are reserved by iSOFT INFRASTRUCTURE SOFTWARE CO., LTD. 
* Without the express written permission of the company, no organization or individual may copy, install, trial, 
* distribute, or reverse engineer this software. For terms of use and further details, please refer to the End User 
* License Agreement (EULA) or contact us business@i-soft.com.cn for more assistance. 
* 
* This file contains code from EasyXMen, which is licensed under the LGPL-2.1. However, due to a special exception, 
* you are not required to comply with the provisions of section 6a of LGPL-2.1. Specifically, you may distribute 
* your software, including this file, under terms of your choice, including proprietary licenses, without needing to 
* provide the source code or object code as specified in section 6a. For more details, please refer to the project's 
* LICENSE and EXCEPTION files and the specific exception statement.  
* ------------------------------------------------------------------------------------------------------------------- 
* FILE DESCRIPTION 
* ------------------------------------------------------------------------------------------------------------------- 
*  @MCU                : S32K148 
*  @file               : Crypto_Cfg.c 
*  @license            : Evaliation 
*  @licenseExpiryDate  : 2025-02-09 23:10:53 
*  @date               : 2025-01-17 16:38:58 
*  @customer           : EasyXMen User 
*  @toolVersion        : 2.0.18 
*********************************************************************************************************************/ 
/*******************************************************************************
**                      Includes                                              **
*******************************************************************************/
#include "Crypto_Cfg.h"
#include "Crypto_Types.h"

#define CRYPTO_START_SEC_VAR_CLEARED_8
#include "Crypto_MemMap.h"

static uint8 CryptoKeyElementValue_0_0[32U] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

static uint8 CryptoKeyElementValue_0_1[64U] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

static uint8 CryptoKeyElementValue_1_0[64U] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

static uint8 CryptoKeyElementValue_1_1[32U] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

#define CRYPTO_STOP_SEC_VAR_CLEARED_8
#include "Crypto_MemMap.h"

#define CRYPTO_START_SEC_VAR_CLEARED_32
#include "Crypto_MemMap.h"
static uint32 CryptoKeyElementLength[CRYPTO_MAXKEYELEMENT_CONFIGURED] = {0,0,0,0};
#define CRYPTO_STOP_SEC_VAR_CLEARED_32
#include "Crypto_MemMap.h"

#define CRYPTO_START_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"
static CONST(Crypto_KeyElementCfgType,CRYPTO_APPL_CONST) CryptoKeyElement_0[2]=
{
    {
        FALSE,/*CryptoKeyElementAllowPartialAccess*/
        CRYPTO_KE_FORMAT_BIN_OCTET,/* Key family */
        0U,/* Key element Id */
        CryptoKeyElementValue_0_0,      /* Key init value Id */
        FALSE,/* Key persistence Id */
        CRYPTO_RA_ALLOWED,/* Read access */
        32U, /* Max size of key */
        CRYPTO_WA_ALLOWED,/*CryptoKeyElementWriteAccess*/
        &CryptoKeyElementLength[0],    /*CryptoKeyElementLength*/
    },
    {
        FALSE,/*CryptoKeyElementAllowPartialAccess*/
        CRYPTO_KE_FORMAT_BIN_OCTET,/* Key family */
        1U,/* Key element Id */
        CryptoKeyElementValue_0_1,      /* Key init value Id */
        FALSE,/* Key persistence Id */
        CRYPTO_RA_ALLOWED,/* Read access */
        64U, /* Max size of key */
        CRYPTO_WA_ALLOWED,/*CryptoKeyElementWriteAccess*/
        &CryptoKeyElementLength[1],    /*CryptoKeyElementLength*/
    },
};
static CONST(Crypto_KeyElementCfgType,CRYPTO_APPL_CONST) CryptoKeyElement_1[2]=
{
    {
        FALSE,/*CryptoKeyElementAllowPartialAccess*/
        CRYPTO_KE_FORMAT_BIN_OCTET,/* Key family */
        2U,/* Key element Id */
        CryptoKeyElementValue_1_0,      /* Key init value Id */
        FALSE,/* Key persistence Id */
        CRYPTO_RA_ALLOWED,/* Read access */
        64U, /* Max size of key */
        CRYPTO_WA_ALLOWED,/*CryptoKeyElementWriteAccess*/
        &CryptoKeyElementLength[2],    /*CryptoKeyElementLength*/
    },
    {
        FALSE,/*CryptoKeyElementAllowPartialAccess*/
        CRYPTO_KE_FORMAT_BIN_OCTET,/* Key family */
        3U,/* Key element Id */
        CryptoKeyElementValue_1_1,      /* Key init value Id */
        FALSE,/* Key persistence Id */
        CRYPTO_RA_ALLOWED,/* Read access */
        32U, /* Max size of key */
        CRYPTO_WA_ALLOWED,/*CryptoKeyElementWriteAccess*/
        &CryptoKeyElementLength[3],    /*CryptoKeyElementLength*/
    },
};
#define CRYPTO_STOP_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"

#define CRYPTO_START_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"
static CONST(Crypto_KeyTypeCfgType, CRY_CONST) Crypto_KeyType[CRYPTO_MAXKEY_CONFIGURED] =
{
    {
        2,
        CryptoKeyElement_0,
    },
    {
        2,
        CryptoKeyElement_1,
    },
};
#define CRYPTO_STOP_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"

#define CRYPTO_START_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"
/* Store KeyElements used by the keys configured */
CONST(Crypto_KeyCfgType, CRY_CONST) Crypto_Key[CRYPTO_MAXKEY_CONFIGURED]= /* PRQA S 3408 */ /* MISRA Rule 8.4 */
{
    {
        0,
        &Crypto_KeyType[0],
    },
    {
        1,
        &Crypto_KeyType[1],
    },
};
#define CRYPTO_STOP_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"

#define CRYPTO_START_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"
/* List of DriverObject configured */
CONST(Crypto_DriverObjectCfgType, CRY_CONST) Crypto_DriverObjects[CRYPTO_MAX_DRIVER_OBJECT] = /* PRQA S 3408 */ /* MISRA Rule 8.4 */
{
    {
        0U, /* CryptoDriverObjectId */
        10U, /* CryptoQueueSize */
        0U, /* CryptoDefaultRandomKeyRef */
        0U, /* CryptoDefaultRandomPrimitiveRef */
        0U, /* CryptoDriverObjectEcucPartitionRef */
        0U, /* CryptoPrimitiveRef */
    },
    {
        1U, /* CryptoDriverObjectId */
        10U, /* CryptoQueueSize */
        0U, /* CryptoDefaultRandomKeyRef */
        0U, /* CryptoDefaultRandomPrimitiveRef */
        0U, /* CryptoDriverObjectEcucPartitionRef */
        0U, /* CryptoPrimitiveRef */
    },
    {
        0U, /* CryptoDriverObjectId */
        10U, /* CryptoQueueSize */
        0U, /* CryptoDefaultRandomKeyRef */
        0U, /* CryptoDefaultRandomPrimitiveRef */
        0U, /* CryptoDriverObjectEcucPartitionRef */
        0U, /* CryptoPrimitiveRef */
    },
};
#define CRYPTO_STOP_SEC_CONST_UNSPECIFIED
#include "Crypto_MemMap.h"
